<html>
<head>
<script type="text/javascript"
	src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.js"></script>
<script type="text/javascript" src="rest.js"></script>

<link rel="stylesheet" type="text/css" href="bootstrap.min.css">


</head>
<body ng-app ng-controller="control">

	<div class="container">

		<ul class="nav nav-pills">
			<li><a href="/playonlineweb">Home</a></li>
			<li><a
				href="../page/simpleCad.html">Simple
					Cad</a></li>
			<li class="active"><a
				href="#">Rest
					Consumer</a></li>
			<li><a href="#" class="contact" ng-click="ativo='contact'">Contato</a></li>
		</ul>
		<div class="jumbotron">

			<a href="#" class="services" ng-click="load();">Load my Rest</a>

			<div class="jumbotron">
				<table ng-show="firstName != null">
					<tr>
						<th>FirstName</th>
						<td>{{firstName}} {{secondName}}</td>
					</tr>
					<tr>
						<th>Email</th>
						<td>{{email}}</td>
					</tr>
					<tr>
						<th>Phone Number</th>
						<td>{{phoneNumber}}</td>
					</tr>
					<tr>
						<th>Email</th>
						<td>{{email}}</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</body>
</html>